#ifndef _FNS_H
#define _FNS_H

/** Typedef for pointer to function being integrated. */
typedef double (*FnP)(double);

/** Return a function pointer to the code for the function having the
 *  the NUL-terminated name fnName.  Returns NULL on failure.
 */
FnP getFnForString(const char *fnName);

/** Return a function pointer to the code for the function with the
 *  the name fnName (not necessary NUL-terminated) having fnNameLen chars. 
 *  Returns NULL on failure.
 */
FnP getFnForStringLen(const char *fnName, int fnNameLen);

#endif /* ifndef _FNS_H */
